realigned the position for error messages