fixed missing priority for var setup