Removed compile error from fetch agent