fix profile set method error