fix #391