You are are wrong. The median is an average.  The average refers to the number that best approximates the dataset. That isn't always the mean. If you want a number that minimizes absolute deviance than often times that would be the median and not the mean. The median is an average and every statistics class I have taken has stated this.
			
			
				
		
			