fixes some bugs and shit
fixes the direction pointer
NOTHING IS WOEKING