fixed title instance variable bug