setting label correctly