fixed broken rotation, think about using group for char