make retrieval a bit smarter for the fields array