fixed a bug with friends!