fixed #245