fix bug load plugins error