fixed patter matechs of mysql's functions