removed check in removeIfContains