trying to fix rankmode on azure