fix profile access