fix problem with setting the title