fixed refreshcontroller crash