fixed bug 1234
Merge pull request #1 from tonycowan/bug-1234

fixed bug 1234