fix devices loading