small refactoring

cleans up event firing after setting 
input value