few gem and db yaml fixes