Fix bug on body param check