correct ggplot type