fixed syntactic error (issue #39)