fix #499