Define clearValue on level of element. This avoids Fatal error (see #2)