refix bug