Fixed boolean flag
Boolean fix