fixes problem witn rds metastore