gui: double check device res before erroring