bug fix with titles