Bug Fix for p2dv.in daemon