fix bug regarding input build path