Fixed get_input problems.