adapt canvas gui for submodule use