change confirm message and category validation