Fixed compile error in fetch