Fixed aall shitty bugs.