improved behavior of disabled attribute