fix button type