fixed #362