fix buttons backend