fixed bug with adding more than 1 cert