fixes a few bug related to AuroraDB