fix geom_bar and handle coord_flip()