fixed some bugs in plotABRAttens