remove maxWidth and maxHeight properties..unnecessary