fix #248