sync form input and sym, need to make reset function