fix #686