Fixed bug input