# Node Status not showing 0 (Zero)

**URL:** https://discourse.nodered.org/t/node-status-not-showing-0-zero/13746
**Category:** General
**Created:** [27 July 2019 10:43 UTC](https://discourse.nodered.org/t/node-status-not-showing-0-zero/13746 "2019-07-27T10:43:45Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![dynamicdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dynamicdave/32/96_2.png) [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)
#### Post date: [27 July 2019 11:20 UTC](https://discourse.nodered.org/t/node-status-not-showing-0-zero/13746/2 "2019-07-27T11:20:15Z")

</div>

I think you'll find it's an issue in that release.  
I reported it to Nick for v1.0.0-beta.2.  
See below...

I've just upgraded to NR v1.0.0-beta-2 and found the fill and/or shape attribute doesn't work.  
Here's a snippet that used to work fine in the previous release.  
Cheers from David

var fsm\_state = flow.get("state\_counter");

if (fsm\_state === 0 || fsm\_state == 1){  
msg.payload = 1;  
node.status({fill:"red",shape:"dot",text:"Red ON"});  
}

else {  
msg.payload = 0;  
node.status({});  
}

return msg;

[![](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/4/4d1b654cc38ee406b1f8140d2977e9b04402cfcc.jpeg "hotNipi")](https://discourse.nodered.org/u/hotNipi)

[hotNipi](https://discourse.nodered.org/u/hotNipi)

[1](https://discourse.nodered.org/t/node-red-1-0-0-beta-2-released/11504/18#)

[May 27](https://discourse.nodered.org/t/node-red-1-0-0-beta-2-released/11504/20)

After some testings I found that fill and shape attribute doesn't work after first occurrence. And somehow the debug node can still handle the status with shape correctly.

Works until you once set empty object to status  
`node.status({});`

---

_[View the full topic](https://discourse.nodered.org/t/node-status-not-showing-0-zero/13746)._
