fixed wrong precedence of comparison