fixing bug with signature again and again3