removes wrong source from domain
think i fixed endpoint bugg