rewrite `changelog` to fix #2