change error text color to white for better contrast, fix #10424