fix negative numbers formatting