Fixed db connection (was still local