some error messages added