fixed houd issue of extra space