Error messages displaying fixing.