Sorry, I made a mistake in my code. Consider the problem as solved lol