fix types for missing attributes