avoid problems with const NilValue in compiler