minor fix to drainTo