typo fixes in backend.py