fixed sqlrepo reference