smal update of reformate code of swarch.py