dont show undefined for non input form elements