Casting label names to string