fix parsing negative number