bugfix: switched arguments in databse pipe.