fixed and closed #4 compatibility with synccto