fix table head problem