Fix #20 Call to a member function get_input() on a non-object