fixing resource