Fixed the Null pointer exception with Lab Category.