make sizing with widht, heiht working