Fix title definition check