fixed alloc-user-role bug