Fixed a few input errors