Fixed docroot,removed depend. cycle