fix proportions error