fix resource