Resolved setfield issue