fixed some bugs in A*