try catch constraint removal