merge two event render methods
fix #110