fixing DBIC's case. Closes #5