added some minor changes

added some minor changes