replace deprecated (or) with (||)