fix for makeSource when using the parent flag