Trying to fix boolean