Small bug fix

Fixed one boolean variable