Fixed negative numbers displaying incorrectly