for some reason the IDE added a relatvie path to the state causing this to fail on device.