fix for buttom disabled attribute