fixed attributes not getting removed when there is no transition