- changed 'on' to true()
- Fix register