added styles for error