fixed #326