fix magic button