Car went into limp mode the other day due to the throttle position sensor comming loose

anyway after putting it back on and tightening it up the car would not go over 1bar of boost
After messing about with the amal valve i herd a clicking noise comming from it when the cars running

anyone had this before?
had another amal valve and a brand new one on it and its still fcuked had to just disconect it for the moment to stop the click/buzzing noise
Anyone?