dlm: improve how bast mode handling