Don't set state if it doesn't exist