Fix some resources path translation