replace title if it is empty