fix #749