Remove margin for contains function