bugs in Habit and Roles