still having issues with db