fix flayer bug