fixed unique scope not saving