fixed #689