fixes image alignment