fix autosizing of title