fix env check order
version up