fix wrong button type