remove path from load resource