Fix to permission