forgot to change two parts of the if statement, fixed now