fixed permission issue 0n settings page