Added cleanup for input module