fix the crash -> removed the data detector