fix resource path