Fix apache class