allow to set layer by layer id