Fix printing extra un-needed values