Well i completely made a new project and it is stil doing the exact same thing so it must be a bug somewhere