fixed #398