validate went to javascript, fixed process php