fixes to data storage
working conn pool