bug 782: removed var dump and added some echo for trace