fix spec permission