forgot to pass event parameter into event handler