Fix rotate tool