Fix refresh all bug