fixed application permissions