fix addpath for deployed apps