bug fixed #141