[DLM] don't overwrite castparam if it's NULL