fit minor bugs in auxiliary