fix css and add some events for test