fix typo
move proxy code to backend