fixed #7

see #7