include argument in masterDb.cleanup

d was undefined.