fixed mod on bin/daemon