fixes to valid elements