fixed stance switching bug