before making dynamic table view