bug fix
change log level, add support for arrays