fixed #367