Finish input handling