fix #948