fix the apache2 no method error