register errors
register errors