preventing configuration fails in handler