solved hanging rest on device creation