fixing default error message of contains check
removing unwanted depdencies