error on parameter name
 cleaning code using pycharm tools