update create_some_context to better handle devices that are not available