fixed broken state