Fix refresh method