fix resource paths