getfield case fix