fixed bug in privilege migration