Bugfix: status vs state