fixed #389