Fix error "Uncaught TypeError: Cannot read property 'helpers' of undefined"