removed https:// from internal api urls