fixed #299