fixed #749