fixed #762
fixed #762