fix #1094