fix buttons helper