FIX E111

MODIFIED main.py - fix problem with E111 error
MODIFIED er      - delete completed changes