create sanitaize method at view