warn if shape type is invalid