fixed rotation of graphs