How make thread which not make undercut

I trying to make external thread in plastic part in split core cavity but it making undercut in core and cavity