move transform require from helper to index