fixed some Python statement regarded as shell command