fix parser and return `loader`