fix #287