fixed middle button visibility in tmp