fixed empty label popping up bug