fix regression on apache checks.