fixed #856