fix viewevent