minor changes
fixed tkinker issue