fixed broken refresh