fixed drain size bug