Fixed Roy's table problem