Fixed createESPNTable function 

function was broken during last merge