fix devices resource