change the insert data type from string to integer or float

remove this empty if.