clean up some parameter checks for rds