fix #491