beginning of implementation for node/164
correction of a bug preventing to set off a layer