fixing resource import at compatibility package