(Bluefox) fix small errors in createDevice/Channel