modify css eventhandler