fix regression in src not being set properly