fix invalid html: use class instead of duplicate ID
print actual error message from backend