added height and width warning