context in static
rewrite the json list
fix a index bug
more refractoring
cleanup