cleaned code for cache/rds parameters