fixed #381