fix resource string