fix of jscode for table