width miscalculation