How do I fix my rejected State return?