fixed plugins-function use print