fix dirty resource name