Fixing profile inheritance (maybe?)