resource path fix