improving support for attributes to compute_profile