fixed #898