depth and master_id fields added

depth and master_id fields added
typo fix

typo fix