pattern row should have pattern class instead of color