placed labels at correct place