removed unessisary permissions