+formvalidation and counter fix