fixed #334