Fix for element set value