added error messages for OSU and DB