fixing retina bug