error in median value