cleaned up event binding. fixes slow form interaction.