modified error mesages