modify rotate bug in qa