Ios dimension fix