fixed #2 button control