remove layer for defining view