fix img resources