fixed #904