Remove unnecessary code for post like