cyclic buttons crash which is intended