fix divisibility
Merge pull request #914 from achamely/dbstaging

fix divisibility