check for mate before running mateSetup