reduce condition when submit a beng