fix rild crash