clear up number of attachment need