Fix error message rendering scaffold