fixed rotate and showresults bug