fixed a bug in armplot