Fixed ipGetLayout.