fixed input enabled repeat bug