fixed refresh bug in cloud storage