fixed refresh behavior