Fixed state not being set correctly