removes nil