fixing issue with multilevel parameters