trim result
fix #1