fixed #748