workaround for issues with pl.lapp with amalg.lua