fix #245