revert the comment controller class logic