fixing issue #13

close #13