fixing minY