fix button visibility