Fixed bug in grab_number