fix apache installation bug