get rid of extra space