before adding fetchresult controller