fixed problem with table