fix int and float property conversion for objects