Fixed copy/paste type in load plugin