Fixed an issue with resource paths