delete space in index&posts