Add enabled configuration and fix startup error