fix table rendering