fix rotating label bug