updated so images are not cut off