protect from 400 exceptions