now mysql counter will increase even tho an error has occured
this for the new uniq constrain on the url