fix >> in generic