Fixed MIME type issues when loading