make array safe for all POD