Removed duplicated error messages