rmnull by default