fix touch debug could not be enabled