separate attribute from base.Fixes #507