fixed #13 where average wage is not aggregating correctly