changed error message to final