The output of apm command is disordered.