Fixed some input stuff