fixed wrong logical OR