Refactor title property

need to refactor better it