python tab problems fixed