fix #14 Android xively crashing