make event listeners consistent with real template path