adjusting api to persistecy changes
nesting warning as well
clearing redl and adding prod profile