fixed bug with changein roles for self