Contains funtion fix