Added #if to hide status if status is undefined.