add relative path support in ru