fixed #323