fixed issues in peak article, thx to @gflandre