corrected dict output removal