overrided setGhostLayer