fix buttons visibility