fix buttons controller