prettify
fix #1169