optimize categrory and load data view