fixed #332, update