fixed canobie force closing when switching to dev mode