Fixed embed relation broken problem

Fixed #12 broken problem by embed relation