fix #548