optional for getstandardfields and getwindowsfields