Fixed width calculation error