Fix title assignment