finish input manager