fixed colordepth bug in the modules