reslove check warning by removing the duplicated imports of plot generic