button.grid split for NoneType error