Fixed the permission issue