debug catch callback in device creation