remove valid_attribute

fixes #3
updates for foundation 5