layer does not have a type