replace [] with lager:debug call