fixed NPE on startup
fixed CME on startup