Fixed profile creation on attach