quick fixes for memory issue
Merge pull request #2 from ZocDoc/quickfixes

quick fixes for memory issue