fix #814