hexadeamon: fixed #247 and #248