fix regions endpoint