fix the format and tab from pycharm