fix multi interval problem, fix app path problem