restore
fix
export keys & use apache lib
lib apache