amend the spaces