fixed #742