useless line in tools.py removed