fix issue that caused extra space in the begging of title

if there was no page title