^ fix determine profile

onAfterInitialise is not ready to get itemId