Fixed an issue with the loader (crappy fix)