fixed some formatting errors in commands.py