duplicate related entity bug solved