fixed bug (buttons not shown)