made zmp-daemon more efficient