Fixed contains bug