set char after last argument to null