there was already a delete_undef_values function...