fix constructor for roles