remove constraints that throw up warnings