Add element title into error message