clean: code for both posts