fetch and serve keys: urls and bugs fixed