changed clkEvt to clickEvent + indentation fixes