fix #295.