Incorrect Function Fix With Command In Python