another attempt at #3119 passing in active profiles