Fix table not displaying data