Do not use variable frame_info before its value is set.