Extra perm reg. fix #557