boolean fix