fixes attributes