ok apparently pycharm auto-indent can break code! fixing manually...