last input active error fixed