Fixing riak problems