fix detect for www_root