Correct error messages

Patched the error message to display in correct position. they now
display correct message