Fixes attribute value