mapper: a little bit more error-resilient wrt config