fixed case of pushLayer