handle less loops in parser