ome changes:
- sanitize can pass array
- resource creating, need more deep testing