added len check back so paths without src fail