fix bug with loaded values on device edition