fixing nested params