fix bug and add profiles widget