fixed bugs with enabling/disabling buttons