incorrect document height adjusted