bugfix for statels without onUse event