fixed bug with multiple submit buttons in one form