fix issue when getting titles