fix the size bug in mergeView