Fixed typo preventing files from being loaded in some circumstances