remove unnecessary factory for relationship