fixed #395