clean: remove unnecessary elements