Changed error warnings