Fixed the bug of repeatedly getting same current equations