fix for new apache