fixed root prefix in dir