Change bad reference from width to height