remove commented code in post controller