small fixes in the xplgw