removed cert check