removes weird 0 in dialog printing