fixing broken undefined in title