Bug fixed: refresh does not work