Update default.py

removed unwanted code