Fixed contextpath problem when using path conversion