sqp layout fix