removed boolean bug