fix #314