Prevents console input erroring