Fix coding to use --deep param