fix #20, add test