Fixed input

Thanks to YourNerdyJoe @GbaTemp