rkt: refactor fetch

ok. i will give it a try.