fixed refresh issues in version 0.5.31