fixing resource path