add missing import
validate variable as array
add plugin from master branch