removed trail '/' on origin field for packaged app