fix to contains method