fix on conditional attribute