fixed issue 13

fixed #13