fixed variable validation
implemented hide hidden form input