Better sanitizing input var