fixed showbutton fn call