shit ugly MAF parser