fixed small bugs, when it was open in II