debugging submit button