fixed random refresh crash