Duplicate Stimulus

I hadn't received my stimulus check when I e-filed, so it was added to refund amount. Today, just received the check, so if still added to refund, it will be a duplicate, Will the IRS catch this and fix, or do I need to do something to remove it from the e-file amount which is still pending?