fixed redundant button variables -- thanks mike