layer can only have one cap