Made preloading actually work + fixed typo