as expected, fixed for undefined elements