Avoid error with objects or arrays