major code fix)
Merge pull request #1 from MEDBEDb/patch-1

major code fix)