extension check fix