+warn. fix profile undefined case