attempt to fix resource paths