In comments, write delete_frame instead of Fdelete_frame.