bug fixed for layout error.