improve strict standards on compound attributes