Fixed problem in assign_from_int