refactor get comment for model