remove unnecessary spacer