minor fix to click to preventDefault