Fixing error messages formating.