fixed #758