assign do before fetch to view in showtable