Fix error messages conflict.