fix css server event handler