Bug 8328

fix of #8328 bug (changed value of top)