fixed #1 and fixed #2