workaround for device ready not firing