prevent default for each statement to avoid redundant key code ref