bugfix print layerswitch