fixed #711