Fix resource path issues