added error notices