make the uper material flat