fixed fors for parser