fixed the flyweight