some data sanitation