Well it turned out that it actually were in the right place, the items initialization class, but a register in it were messing with the class
But thanks for the help i didn't realize that it would check that class even after i commented out its use in the main class.