forgot to add event argument to click function handler