Fixed the multi refresh issue