Fixed annoying perm issue