first try to fix the permission bug