fixed null reference in objectLabel