changed to autosubmit form