Fix Permission manager