found problem in define plugin