fixed capturing of multiple lemas