fixed apache bug