fixed issue with nested params