fixed boolean flag