fixed #240