fixed the error messages and alignment