cert got lost in the flatten