update loader to not swallow parse errors