addresses comments in alembic pull request #9