minor fix for smooth typing
fixed int(float), more floppy code