Used amberdb 1.1.171 to fix the orphan children problem