fix exception at __base__ plugin