filter the type of layers