optimazations for non retina
merge