fixed CGsize issues