try to get attributes set properly