fix _e function