fixed joinz
policies to db