delete unnecessary factory