Fixing sge plugin