set friendnames properly and some fixes