fix for bug #16
fix to dragout issue #16