fix resource export create method