bug fixed #1