removed unused functions to set/get internal error messages