@Sameer Welcome to the community
I see similar posts in the forum, please check these:
If you still have issue, please post the detailed script section or some snapshot