bug fix

replaced click event with submit
changed compensation