Fix broken refresh