rewrite loader && view