bad function in ML text