fixing bug on default virtual host