fixed those bugs(but still more exist, like movement) IT RUNS!