removing selected layer