fix #249