Hi Mohamed Shelpaya,
Have you changed the account number after transactions were posted?
Have you tried whether rebuilding the financial Dimension set for your main account under General ledger/Setup/Financial dimensions/financial dimension set resolves the issue?
Best regards,
Ludwig