fix the crash due to Theme Compat