fixed a warning (brackets around AND in OR)