Fixing profile inheritance