Remove selection of shared dir in wrong method