FIxes variable button length