change css
fix buttons and add emit