fixed mongo error on earnings