Debug

- Fixed A lot of null pointers