Fix image uri contruction issue