solved bugs to run test_file_banning.py
additional bug fixes