simplify/avoid possible npes