fixes #3 issue