fixed double sourcing of profile