corrected the width/height order convention